class TreeMenu<T> {

  /// 名称
  String? name;

  /// 子类
  List<TreeMenu> children;

  /// 实体
  T? entity;

  TreeMenu({this.name, this.children = const [], this.entity});
}
